Skip to content

Change outpointTransactionHash to outpointTxId and enable it and all introspection opcodes - #201

Merged
someone235 merged 1 commit into
kaspanet:masterfrom
someone235:enable-intro
Aug 3, 2026
Merged

Change outpointTransactionHash to outpointTxId and enable it and all introspection opcodes#201
someone235 merged 1 commit into
kaspanet:masterfrom
someone235:enable-intro

Conversation

@someone235

Copy link
Copy Markdown
Contributor

Closes #175

Enable the remaining transaction input introspection fields and align their names and types with the underlying opcodes.

Language Behavior Changes

  • Rename outpointTransactionHash to outpointTxId.
  • Add the sequence input field.
  • Expose outpoint transaction IDs as byte[32].
  • Expose input sequences as byte[8].
  • Support the complete input introspection field set.
int i = 0;

int value = tx.inputs[i].value;
byte[] scriptPubKey = tx.inputs[i].scriptPubKey;
byte[] sigScript = tx.inputs[i].sigScript;
byte[32] outpointTxId = tx.inputs[i].outpointTxId;
int outpointIndex = tx.inputs[i].outpointIndex;
byte[8] sequence = tx.inputs[i].sequence;

The previous outpointTransactionHash field name is no longer accepted.

@someone235
someone235 merged commit 65421cf into kaspanet:master Aug 3, 2026
4 checks passed
@someone235
someone235 deleted the enable-intro branch August 3, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change outpointTransactionHash to outpointTxId and enable it and all introspection opcodes

1 participant